它直接把小数点后面的数值丢弃掉了,因为,凭直觉,那些整型数和结果应该是一个浮点数据,但是我需要一个更精确的数值。
It just throws the decimal point away and that's because, again, these are ints and the answer intuitively should be a floating point value, but I need to be more specific.
Lehrer:你是如何能背诵圆周率小数点后22514位数的?
LEHRER: How were you able to recite from memory the first 22, 514 Numbers of Pi?
如何判断一个数是不在小数点后50位的两个平方根?
How to check if a number is not within 50 decimal places of square root of two?
对2002年1月1日之后新投产的太阳能电站该最低偿付标准每年分别下降5%,数额计算到小数点后一位数。
On January 1, 2002 that the new solar power plant went into operation in the minimum standards for each of the down payment of 5%, the amount calculated to one decimal number.
为了求一个数的常用对数,首先按照科学计数法把它写作小数点左面具有一位的数。
To find the common log of a number, we first write it in scientific notation with one figure to the left of the decimal point.
当你用21除以4时,结果是一个实型数(一个带小数点的数)。
When you divide 21 by 4, the result is a real number (a number with a fraction).
如果你真的要数小数点后的位数,你可能要转换为字符串,删除任何尾随零,看看小数点落在哪里。
If you actually want to count the number of decimals, you'd probably have to convert to a string, remove any trailing zeroes, and see where the decimal point landed.
BCD字段类型使用了货币类型,这种类型是小数点后是4位数。
This is because TBCDField uses the currency data type that has a fixed scale of 4 decimal places.
对2002年1月1日之后新投产的电站,本条第一款规定的最低偿付标准每年分别降低1%,数额计算到小数点后一位数。
To January 1, 2002 after the commissioning of new power plants, the first paragraph of this section, the minimum payment standards for each reduced by 1%, the amount calculated to one decimal number.
对2002年1月1日之后新投产的电站,本条第一款规定的最低偿付标准每年分别降低1%,数额计算到小数点后一位数。
To January 1, 2002 after the commissioning of new power plants, the first paragraph of this section, the minimum payment standards for each reduced by 1%, the amount calculated to one decimal number.
应用推荐